<template>
	<view class="search-bar" @click="gosearch">
		<view class="white-bar" style="background: url('/static/img/search2.png') no-repeat 42% #f2f2f2;background-size: 42upx;">搜索</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			gosearch() {
				this.$common.navigateTo('/pages/search/search')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.search-bar {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 110upx;
		background-color: #FFFFFF;

		.white-bar {
			box-sizing: border-box;
			width: 94%;
			height: 60%;
			border-radius: 10upx;
			text-align: center;
			line-height: 70upx;
			color: #cccccc;
			// background-color: ;
		}
	}
</style>
